package com.ye.mybatis.mapper;

import com.ye.mybatis.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    User getUserByConditionIf(User user);

    User getUserByConditionWhere(User user);

    User getUserByConditionTrim(User user);

    User getUserByConditionChoose(User user);

    void deleteUserByIds(@Param("userIds") Integer[] userIds);

    void batchInsertUser(@Param("users") List<User> users);

    User getUserByConditionSql(User user);

}
